import component from './map.vue'

export default function (Vue) {
    const Constructor = Vue.extend(component)
    const Instance = new Constructor();
    Instance.$mount()
    document.body.appendChild(Instance.$el)
    Vue.prototype.$loadMap = (address) => {
        Instance.dialogVisible = true;
        Instance.address = address
    }
}